//  订单查询
import request from "@/utils/request";

export const orderList = (obj) => request.get("/api/order/pageList.do", obj)
//订单新增
export const orderInsert = (obj) => request.post("/api/order/insert.do", obj,{
    headers: {
        'Content-Type': 'application/x-www-form-urlencoded'
    }
})
// 删除订单
export const orderDelete = (obj) => request.post("/api/order/delete.do", obj,{
    headers: {
        'Content-Type': 'application/x-www-form-urlencoded'
    }
})
// 修改订单
export const orderUpdate = (obj) => request.post("/api/order/update.do", obj,{
    headers: {
        'Content-Type': 'application/x-www-form-urlencoded'
    }
})